package com.slz3.business.frame.module;

import java.util.List;
import java.util.UUID;

public interface DomainRedisKey {

    /**
     * @param uuid ${Domain}.uuid
     * @return ConfigDomain:${Domain}:DataJsonStr:${uuid}
     */
    String entity(UUID uuid);

    /**
     * @see DomainRedisKey entity(UUID uuid)
     */
    List<String> entityList(List<UUID> uuidList);

    /**
     * @return ConfigDomain:${Domain}:UuidList
     */
    String uuidList();

    /**
     * @return ConfigDomain:${Domain}:UuidSet
     */
    String uuidSet();

    /**
     * @param upper ${Domain}._uuid
     * @return ConfigDomain:${Domain}:UuidList:${upper}
     */
    String uuidListByUpper(UUID upper);

    /**
     * @param upper ${Domain}._uuid
     * @return ConfigDomain:${Domain}:UuidSet:${upper}
     */
    String uuidSetByUpper(UUID upper);

}
